package com.diankangwo.factory.service;

import com.diankangwo.factory.entity.TdDistrict;

import java.util.List;

/** 街道接口
 * Created by wuye on 2017/9/15.
 */
public interface TdDistrictService {

    /**
     * 根据城市ID获取街道
     */
    List<TdDistrict> queryByCityId(int cityid);

    int deleteByPrimaryKey(Integer districtid);

    int insert(TdDistrict record);

    int insertSelective(TdDistrict record);

    TdDistrict selectByPrimaryKey(Integer districtid);

    int updateByPrimaryKeySelective(TdDistrict record);

    int updateByPrimaryKey(TdDistrict record);

}
